{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-07-12 15:43:11 +0200 (Sat, 12 Jul 2008) $
 * $Rev: 1291 $
 * $Author: gavinspearhead $
 * $Id: ajax_showtransfers.tpl 1291 2008-07-12 13:43:11Z gavinspearhead $
 *}
{* Ajax page, doesn't need a head/foot tpl *}
<div id="hideoverlay">
<img src="{$IMGDIR}/icon_cancel.png" class="buttonlike" alt="Close" title="Close"  onclick="javascript:hide_popup('uploadnzbdiv', 'uploadnzb');"/>
</div>

<h2>{$LN_transfers_uploadnzb}</h2>
<br/>
<table class="hmid fullwidth">
<tr><td>
<form method="post" action="parsenzb.php" id='parseform'>
<div>
<input type="hidden" name="timestamp" value="" id='timestamp1'> 
<input type="hidden" name="challenge" id="challenge1" value="{$challenge}"/>
	{$LN_transfers_nzblocation}:<br/>
	<input type="text" name="url" {popup text=$LN_transfers_nzblocationext} />
	</div>
</form>
</td><td class="vbot">
<input type="submit" value="{$LN_transfers_import}" class="submit" onclick="javascript:hide_popup('uploadnzbdiv', 'uploadnzb'); document.getElementById('timestamp1').value = document.getElementById('timestamp').value; document.getElementById('parseform').submit();"/>
</td></tr>
<tr><td colspan="3">&nbsp;&nbsp;{$LN_or}<br/>&nbsp;<br/></td></tr>
<tr><td>
<form method='post' enctype='multipart/form-data' action='upload.php' id='uploadform'>
<div>
<input type="hidden" name="timestamp" value="" id='timestamp2'> 
<input type="hidden" name="challenge" id="challenge2" value="{$challenge}"/>
{$LN_transfers_nzbupload}:<br/>
<input type="file" name="upfile" {popup text=$LN_transfers_nzbuploadext} />
</div>
</form>

</td>

<td class="vbot">
<input type="submit" value="{$LN_transfers_import}" class="submit" onclick="javascript:hide_popup('uploadnzbdiv', 'uploadnzb'); document.getElementById('timestamp2').value = document.getElementById('timestamp').value; document.getElementById('uploadform').submit();"/>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td class="vbot" colspan="2">{$LN_browse_schedule_at}: <input name="timestamp" id="timestamp" type="text" value="" size="20"/></td></tr>

</td></tr>
</table>
